package com.weiyuwqj.server.service.account.module.action.user.invest.account;

import com.weiyuwqj.server.service.account.module.action.AbstractDealAction;
import com.weiyuwqj.api.constant.DealType;
import com.weiyuwqj.api.util.IpUtils;

import java.util.Date;

/**
 * Created by Administrator on 2017/1/18.
 */
public class PrepaymentReceiveAllAction extends AbstractDealAction {

    public PrepaymentReceiveAllAction() {
        log.setOperType(DealType.PREPAYMENT_RECEIVE_ALL);
    }

    @Override
    public void dealAccount() {
        log.setWait(log.getOperMoney());
        log.setBudgetType(1);
        log.setAddtime(new Date());
        log.setAddip(IpUtils.get());
    }
}
